package com.chief.dubboFeign.entity;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum SexEnum {

    MAN(0, "男"), WOMAN(1, "女");

    @EnumValue
    private int code;

    private String name;

    SexEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
